Book Contents

Options on the General tab of the Multistate Push Button Properties dialog box

The following table shows the options on the General tab of the Multistate Push Button Properties dialog box.

Options

Descriptions

Appearance

Specify the object's appearance in this area.

Border style

Select a border style for the object.

If the object shape is circle or ellipse, the available border styles are None and Line.

Border width

Type the number of pixels for the width of the object’s border.

Back style

Specifies the object background. Available options are:

  • Solid. The object’s background is filled with a solid color specified in the Back color option.
  • Transparent. The object’s background is not filled and any objects behind it show through.
  • Gradient. The object's background is filled with a linear gradient color.

    Specify the color for the background (Back color) on the States tab.

Shape

Select the shape of the object. If the object shape is circle or ellipse, the application applies properties such as size and position by measuring in relation to the object’s bounding box.

Border uses back color

Select this check box to use the object’s background color for the border of the object.

Clear this check box to use the selected Border Color.

Specify the background color and the border color on the States tab.

Highlight color

This box shows the current highlight color. Click it to select another color.

The object's border, if any, changes to the highlight color when the operator presses the button at run time.

State settings

 

Number of states

Select the number of states for the object.

Next state based on

Select how the button changes states:

  • Current state. The application switches the button from the current state to the other state and writes out the other state value.
  • Value connection.The application reads the value of the Value connection, and, if the value matches one of the button’s state values, changes the button to the other state and writes out the other state value. Select this option if you want the button to base its state on external changes to the Value connection.

    If the value does not match one of the button’s state values, the application changes the button to State 0 and writes out the State 0 value. When the button is in its last configured state, pressing it causes the button to change to State 0 and write out the State 0 value.

Touch margins

You can specify a touch-insensitive margin inside the button’s edges. If the operator presses on the touch-insensitive margin, the button press is not registered.

Horizontal margin

Specifies the number of pixels for the distance inside the left and right edges of the button where the button will not be touch sensitive.

Vertical margin

Type the number of pixels for the vertical touch margin. The vertical margin is along the button’s top and bottom edges.

Other

 

Audio

 

Select this check box to sound an internal beeper when the object is pressed.

If the computer running the project does not have an internal beeper, the object press does not trigger a beep.

See also

bounding box

Create Multistate push buttons

Set up general properties for a Multistate push button